home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 December / Software of the Month Club 1996 December.iso / pc / dos / sri / edu / qasa / demo2.def < prev    next >
Encoding:
Text File  |  1995-10-14  |  19.6 KB  |  684 lines

  1.                           Sample QASA Database
  2.  
  3. This file must be compiled with QASA's database compiler, which will
  4. create the file DEMO2.QA.
  5.  
  6. This sample database contains questions and answers about QASA.
  7.  
  8. A QASA database may contain any of the following options. Any line
  9. not part of one of the following options is considered to be a comment,
  10. which is why this explanatory text may appear here. All of these options
  11. MUST appear alone on a line. The text below is ignored because other text
  12. appears on the line containing each option keyword.
  13.  
  14. Q=    question on following lines, terminated by a blank line or
  15.     another option.
  16. A=    answer on following lines, terminated by a blank line or
  17.     another option.
  18. H=      explanatory help text for preceding question/answer is on the
  19.     following lines, terminated by a blank line or another
  20.     option.
  21. P=    strip all punctuation from following answer list.
  22. N=    quiz name is on next line.
  23. M=    macro definition on following lines, terminated by a blank
  24.     line or another option.
  25. T=    time allowed is on next line in the format HH:MM:SS.
  26. C=    clear NOT allowed. No additional lines.
  27. S=    lock in sequential mode (user cannot change mode). No additional
  28.     lines.
  29. R=    lock in random mode (user cannot change mode). No additional
  30.     lines.
  31. F=    output score filename is on next line (no score recording
  32.     if omitted).
  33. E=    encrypt score file.
  34. W=    assign weighting. Weight appears as an integer on the next line.
  35.     This weight will be used for all questions following until and
  36.     unless another weight is assigned.
  37. D=    disable display of correct answers if answer is incorrect. No
  38.     additional lines.
  39. G=      define letter grade equivalency list or disable display of
  40.     letter grades during execution. To disable letter grade
  41.     display, the following line should contain "OFF" only. Otherwise,
  42.     any number of following lines contain the grade equivalencies
  43.     in the form <score>=<letter grade>.
  44. L=      limit the number of questions to a subset of the total number of
  45.         questions in the database. The number of questions in the subset
  46.         is specified on the following line.
  47. O=      omit the questions in the subset at compile time. Ignored without
  48.         the L= keyword. If L= is given without O=, then the subset will
  49.         be selected at run-time, giving a different subset each time the
  50.         database is run. If O= is given with L=, then the subset will be
  51.         determined by the compiler and the database will be the same each
  52.         time the program is run.
  53. V=    view literal answers. Causes first five (or more) characters of
  54.     the answer the user keyed in to be included in the score file
  55.     point matrix. This is BEFORE any preprocessing with the exception
  56.     that leading blanks are skipped.
  57. I=    Ignore character
  58. K=    Keep administrator's name (request it and record it in the score
  59.     file). No effect if score file not used.
  60. X=    Sets the length of eXported answers. The length is specified on
  61.     the following line. If two numbers are given, separated by a
  62.     comma, then the first is the length of answers that are kept
  63.     internally, and the optional second number is the length of the
  64.     answers that will be exported to the score file. The second
  65.     number can never be larger than the first.
  66.  
  67. In this sample database, questions are weighted by type as follows:
  68.     multiple-choice        1 point each
  69.     true/false (yes/no)    2 points each
  70.     fill-in            3 points each
  71.  
  72. Again, note that comments are just about free-form. Place them anywhere
  73. except between option keywords and their termination. QASA will discard
  74. all comment text as it compiles this file, so you are not penalized for
  75. commenting your databases.
  76.  
  77. The sample database configuration follows....
  78.  
  79. ==========================================================================
  80.  
  81. If this character appears in column 1, ignore it (skip over it)
  82. but do not count the line as blank. This allows spacing lines in
  83. explanatory help text. Do not use anywhere else.
  84. ---------------------------------------------------------------------
  85. I=
  86. *        (This is the default. To disable ignore, leave this line blank.)
  87.  
  88. Name the database. This name is displayed in QASA's main window.
  89. ----------------------------------------------------------------
  90. N=
  91. QA Study Aid Example Database #2
  92.  
  93. Specify a score file. If it already exists, score data will be
  94. appended. Otherwise, a new file will be created using this name.
  95. ----------------------------------------------------------------
  96. F=
  97. demo2.scr
  98.  
  99. Specify that we want the score file to contain literally what the user
  100. entered for each answer. This allows an analysis of consistently
  101. incorrect answers.
  102. ----------------------------------------------------------------------
  103. V=
  104.  
  105. Specify that we want the test to be 'blind'; in other words,
  106. disable the display of all scoring information until the test
  107. is completed.
  108. ------------------------------------------------------------------
  109. D=
  110.  
  111. Say that we want to retain at least 30 characters of each answer
  112. internally, but export only 15 characters to the score file.
  113. ----------------------------------------------------------------
  114. X=
  115. 30,15
  116.  
  117.  
  118. These are the 'true' and 'false' macro definitions...
  119. -----------------------------------------------------
  120.  
  121. M=
  122. $TRUE$
  123. True
  124. T
  125. Yes
  126. Y
  127.  
  128. M=
  129. $FALSE$
  130. False
  131. F
  132. No
  133. N
  134.  
  135. Define the letter grade equivalency list. The last line (59.99) causes
  136. the letter grade display to be omitted until the user achieves a score
  137. of at least 59.99. Set this to 0 to always display the letter grade.
  138. ----------------------------------------------------------------------
  139.  
  140. G=
  141. 95    = A+
  142. 90    = A
  143. 85    = A-
  144. 83    = B+
  145. 80    = B
  146. 75    = B-
  147. 73    = C+
  148. 70    = C
  149. 67    = C-
  150. 65    = D+
  151. 63    = D
  152. 60    = D-
  153. 59.99 = F
  154.  
  155. If we wanted to turn off the display of letter grades so the letter
  156. grade would be shown only when the quiz was completed and in the
  157. score file (if defined), then we would use the following:
  158. -------------------------------------------------------------------
  159.  
  160. G=                   [this turns G= into normal text]
  161. OFF
  162.  
  163. ==========================================================================
  164. The first question follows, with a weight of 2.
  165. -----------------------------------------------
  166.  
  167. W=
  168. 2
  169.  
  170. Q=
  171.  1. True/False
  172.  
  173.  QASA can be used to measure a teacher's effectiveness.
  174.  
  175. A=
  176. Yes, by storing the administrator's name in the score file also.
  177. $TRUE$
  178.  
  179. H=
  180. *
  181.  Using the K= option (in conjunction with F= to save the score in
  182.  a file), you can cause QASA to prompt for the quiz administrator's
  183.  name as well as the name of the student. Over a statistically
  184.  valid number of quizzes, the effectiveness of two or more teachers
  185.  can be compared. The ability to export the score files to a
  186.  spreadsheet program makes this an easy problem to solve with QASA.
  187.  
  188. ==========================================================================
  189.  
  190. W=
  191. 2
  192.  
  193. Q=
  194.  2. True/False
  195.  
  196.  QASA cannot support score files on a network server.
  197.  
  198. A=
  199. QASA can operate just fine on a network.
  200. $FALSE$
  201. H=
  202. *
  203.  If the F= keyword defines a score file on a network drive,
  204.  QASA will lock the file to prevent corruption by other users
  205.  taking tests with QASA. The SHARE.EXE program must be loaded,
  206.  but QASA will warn you if it's needed but absent.
  207.  
  208. ==========================================================================
  209.  
  210. W=
  211. 1
  212.  
  213. Q=
  214.  3. Multiple-choice
  215.  
  216.  I can sell the QA.EXE program with my accounting training
  217.  videotape (for example) if
  218.  
  219.  a. I pay a royalty for each copy sold
  220.  b. I cannot sell someone else's work
  221.  c. I purchase a distribution license
  222.  d. I register the program
  223. A=
  224. I can sell my own training courses with a distribution license.
  225. c
  226. H=
  227. *
  228.  See the documentation file QASA regarding distribution of the
  229.  QA interpreter. With a distribution license, Quid Pro Quo
  230.  Software gives you the right to package the interpreter and
  231.  sell it as you see fit, EXCEPT modify it, represent it as your
  232.  own work, or state or imply any type of ownership rights to
  233.  the program. You cannot, of course, distribute the compiler
  234.  QASA.EXE to anyone.
  235.  
  236. ==========================================================================
  237.  
  238. W=
  239. 2
  240.  
  241. Q=
  242.  4. True/False
  243.  
  244.  Quid Pro Quo Software accepts credit cards.
  245.  
  246. A=
  247. Yes, you can register with VISA or Mastercard.
  248. $TRUE$
  249.  
  250. ==========================================================================
  251.  
  252. P=
  253.  
  254. W=
  255. 3
  256.  
  257. Q=
  258.  5. Fill-In
  259.  
  260.  I can register my cop(ies) of QA Study Aid by phone, mail, and ______.
  261.  
  262. A=
  263. Encrypted Electronic Mail
  264. E-Mail
  265. Bulletin Boards
  266. BBS
  267. BBS System
  268. BBS Systems
  269. Messages
  270. Message
  271. H=
  272. *
  273.  You can register electronically by filling out the electronic
  274.  registration form built into QA Study Aid, supplying your
  275.  credit card information, and generating an encrypted electronic
  276.  mail message (of course, QA Study Aid does all of this for you).
  277. *
  278.  We're interested in protecting your credit card information as
  279.  much as you are, so we allow you to register using E-Mail via
  280.  CompuServe or the Internet. ONLY Quid Pro Quo Software can read
  281.  a registration you send by uploading the encrypted registration
  282.  message. We'll reply with your registration number.
  283.  
  284. ==========================================================================
  285.  
  286. And back to 1 again for multiple-choice.
  287. ----------------------------------------
  288.  
  289. W=
  290. 1
  291.  
  292. Q=
  293.  6. Multiple-choice
  294.  
  295.  I'm in "View All" mode so I can review all my answers before I commit
  296.  them and end the quiz. Why does QASA skip certain questions?
  297.  
  298.  1. It randomly deletes questions from the quiz.
  299.  2. If QASA displayed the correct answer, it will not allow
  300.     you to access that question again to change your answer.
  301.  3. The presentation sequence may be random, and you're just
  302.     not lucky.
  303.  4. Both 2 and 3 above.
  304.  5. None of the above.
  305. A=
  306.  4. Both 2 and 3 above.
  307.  4
  308. H=
  309. *
  310.  If QASA has correct answer display enabled, you will be shown the
  311.  correct answer if you answer wrong. You will therefore know the
  312.  proper answer. QASA will not allow you to access this question
  313.  again to change your answer, no matter what view mode you use.
  314. *
  315.  It is also possible that in random presentation mode, you just
  316.  haven't hit the question you're seeking. Change to sequential mode
  317.  or keep trying.
  318.  
  319. ==========================================================================
  320.  
  321. W=
  322. 1
  323.  
  324. Q=
  325.  7. Multiple-choice
  326.  
  327.  Every time I review my answers, they've been chopped off to seven
  328.  characters. Why is this?
  329.  
  330.  A. The default review answer length is seven characters.
  331.  B. There wasn't enough memory for more than seven.
  332.  C. The review answer length was set to seven in the database (using X=).
  333.  D. Both A and C above.
  334.  E. None of the above.
  335. A=
  336.  C. The default review answer length is 40.
  337.  D
  338. H=
  339. *
  340.  QASA always records the answers internally, retaining the maximum
  341.  of 40 characters by default. If you had a very large multiple-choice
  342.  test, fewer characters may allow QASA to load it entirely into
  343.  memory. Using the X= control in the database, you may retain as many
  344.  as 40 characters or as few as five. This control also determines the
  345.  number of characters written to the score file and the number that
  346.  will be exported if you use the /UX command.
  347.  
  348. ==========================================================================
  349.  
  350. W=
  351. 1
  352.  
  353. Q=
  354.  8. Multiple-choice
  355.  
  356.  When I register QA Study Aid, is the 25-question limit disabled
  357.  automatically?
  358.  
  359.  A. Only if you purchase a site license.
  360.  B. Yes, you don't have to do anything.
  361.  C. Yes, but you must recompile your databases.
  362.  D. Both A and C above.
  363.  E. None of the above.
  364. A=
  365.  C. Yes, but you must recompile your databases.
  366.  C
  367. H=
  368. *
  369.  All databases coimpiled with the unregistered shareware version are
  370.  limited to 25 questions. Once you register, you remove the limit by
  371.  recompiling your databases.
  372.  
  373. ==========================================================================
  374.  
  375. W=
  376. 2
  377.  
  378. Q=
  379.  9. True/False
  380.  
  381.  If I register one copy of QA Study Aid, I can put it on a
  382.  network server so that the whole class can use it.
  383. A=
  384. $FALSE$
  385. H=
  386. *
  387.  Each person running QA Study Aid must have a registered copy. For
  388.  an entire class, you must purchase enough copies for each person
  389.  in the class. That's why the discount schedule is so generous!
  390.  
  391. ==========================================================================
  392.  
  393. Q=
  394.  10. True/False
  395.  
  396.  When taking a test, I can switch between "View All" and "View
  397.  Unanswered" modes anytime I wish.
  398.  
  399. A=
  400. $TRUE$
  401.  
  402. ==========================================================================
  403.  
  404. W=
  405. 1
  406.  
  407. Q=
  408.  11. Multiple-choice
  409.  
  410.  On the command line, I can force the sequence to "Random" and
  411.  the view mode to "View Unanswered" by using the option
  412.  
  413.  1. /Vru
  414.  2. -VUR
  415.  3. -vr
  416.  4. /Vur
  417.  5. All of the above.
  418.  6. None of the above.
  419.  
  420. A=
  421.  5. All of the above.
  422.  5
  423.  
  424. H=
  425. *
  426.  "View Unanswered" is the default view mode, so #3 is correct.
  427.  All are therefore correct.
  428.  
  429. ==========================================================================
  430.  
  431. We deliberately omit P= for this question, as punctuation IS
  432. very important here...
  433.  
  434. W=
  435. 3
  436.  
  437. Q=
  438.  12. Fill-In
  439.  
  440.  I can obtain a copy of QA Study Aid on the World Wide Web at the
  441.  Uniform Resource Locator (URL) of ________________.
  442.  
  443. A=
  444.  The World File Project (http://filepile.com)
  445.  http://filepile.com
  446.  filepile.com
  447.  World File Project
  448.  
  449. ==========================================================================
  450.  
  451. W=
  452. 2
  453.  
  454. Q=
  455.  13. True/False
  456.  
  457.  I can cheat by using "View Unanswered" to show me the correct answer
  458.  and then going to "View All" mode so that I can change my answer.
  459. A=
  460. $FALSE$
  461. H=
  462. *
  463.  We're one step ahead of you. If QA Study Aid displays the answer
  464.  for any reason through some obscure combination of options (or
  465.  by choice), it will not allow you to access that question again
  466.  in any mode.
  467.  
  468. ==========================================================================
  469.  
  470. Q=
  471.  14. True/False
  472.  
  473.  If I register QA Study Aid, I have to rewrite my database definition
  474.  files to add more than 25 questions.
  475. A=
  476. No. Your definition files can have as many questions as you wish.
  477. $FALSE$
  478. H=
  479. *
  480.  The QASA compiler will only allow 25 questions to be compiled in the
  481.  unregistered shareware version. It will never modify your database
  482.  definition file. All you have to do is recompile after you register.
  483.  
  484. ==========================================================================
  485.  
  486. W=
  487. 1
  488.  
  489. Q=
  490.  15. Multiple-choice
  491.  
  492.  I can create a "blind" test that will allow my students to review
  493.  and correct their answers using these options:
  494.  
  495.  a. "D=" in the database definition file
  496.  b. "/Va" on the command line
  497.  c. This is the default mode.
  498.  d. Both 'a' and 'b' above.
  499.  e. None of the above.
  500. A=
  501.  d. Both 'a' and 'b' above.
  502. H=
  503.  The "D=" option in the database definition file is all that is really
  504.  needed, since the test taker is able to switch modes as they wish.
  505.  
  506. ==========================================================================
  507.  
  508. Q=
  509.  16. Multiple-choice
  510.  
  511.  To export all 40 possible characters in an answer to a database or
  512.  spreadsheet program, the argument "40,40" is used with:
  513.  
  514.  1. L=
  515.  2. N=
  516.  3. X=
  517.  4. None of the above.
  518. A=
  519.  3. X= sets the length of internal and exported answers.
  520.  
  521. ==========================================================================
  522.  
  523. W=
  524. 2
  525.  
  526. Q=
  527.  17. True/False
  528.  
  529.  If I export 40 characters for every answer, the score file will be
  530.  too wide to print.
  531. A=
  532. True. The score file will contain lines up to 411 characters long.
  533. $TRUE$
  534.  
  535. ==========================================================================
  536.  
  537. W=
  538. 3
  539.  
  540. Q=
  541.  18. Fill-In
  542.  
  543.  The maximum number of characters I can export per answer and
  544.  still be able to print the score file on 80-column paper is ____.
  545. A=
  546. Six. There are 11 characters in the left margin, plus 10 * 6 = 71.
  547.  
  548. ==========================================================================
  549.  
  550. W=
  551. 2
  552.  
  553. Q=
  554.  19. True/False
  555.  
  556.  The unlimited upgrade option means that Quid Pro Quo Software will
  557.  send me a diskette every time a new version is released.
  558. A=
  559. False. Whenever you obtain a new version, INSTALL will register it.
  560. H=
  561. *
  562.  Quid Pro Quo Software will not send you updates as they are released.
  563.  However, you will be notified of upgrades and where you may obtain
  564.  them. When you install the upgrade, the install program INSTALL will
  565.  read the registration information from your current version and copy
  566.  it to the new version.
  567.  
  568. ==========================================================================
  569.  
  570. Q=
  571.  20. True/False
  572.  
  573.  QA Study Aid can be customized for my organization.
  574. A=
  575. True, provided the changes and costs are negotiated in advance.
  576. $TRUE$
  577. H=
  578. *
  579.  Quid Pro Quo Software has done several custom versions of QASA. If
  580.  your suggested changes would be beneficial to everyone, there may
  581.  be no charges involved. Please write or e-mail with your request.
  582.  
  583. ==========================================================================
  584.  
  585. Q=
  586.  21. True/False
  587.  
  588.  If I type the database to the screen using the DOS command
  589.  "type filename.qa", I can see the answers.
  590.  
  591. A=
  592. No, the database is encrypted for just this reason.
  593. $FALSE$
  594.  
  595. ==========================================================================
  596.  
  597. W=
  598. 1
  599.  
  600. Q=
  601.  22. Multiple-choice
  602.  
  603.  The compiler keeps giving me an error that says "Sample limit
  604.  excessive - corrected". How do I get rid of it?
  605.  
  606.  1. Omit the L= option from your database definition file.
  607.  2. Set the argument to the L= option to less than 25.
  608.  3. Register your copy of QA Study Aid.
  609.  4. Reduce the number of questions to less than 25.
  610.  5. Any of the above.
  611.  6. None of the above.
  612. A=
  613.  5. Any of the above. Any of these will work.
  614. H=
  615. *
  616. This warning appears because the size of the subset specified in
  617. the database definition file (using the L= option) is greater
  618. than the number of questions in the file. If you are using the
  619. unregistered shareware version, an artificial limit of 25 is
  620. imposed. Depending upon circumstances, any of the above will
  621. eliminate the warning.
  622.  
  623. ==========================================================================
  624.  
  625. Q=
  626.  23. Multiple-choice
  627.  
  628.  I've answered all of the questions (the scoring window even
  629.  says so), but QA Study Aid won't give me my score. How come?
  630.  
  631.  a. Your score is zero.
  632.  b. You have to answer one more question to get it past the end.
  633.  c. You have to close the quiz with the "/FC" command.
  634.  d. You have to switch to "View Unanswered" mode.
  635.  e. None of the above.
  636. A=
  637.  'c' OR 'd'. You are in "View All" (review) mode.
  638.  c
  639.  d
  640. H=
  641. *
  642.  In "View All" mode, QA Study Aid will never end the quiz unless
  643.  it is timed. This is to permit you to review your answers before
  644.  you finish the test by closing it. If you switch to the "View
  645.  Unanaswered" mode, QA Study Aid will recognize that the test is
  646.  complete and will close it for you.
  647.  
  648. ==========================================================================
  649.  
  650. Q=
  651.  24. Multiple-choice
  652.  
  653.  The Scoring Window says "Random/All". I want to change my answer to
  654.  question 3, but QA Study Aid won't display it. How do I find it?
  655.  
  656.  1. Change to "Sequential" mode and step to it with ENTER.
  657.  2. Keep pressing ENTER. You'll eventually get there.
  658.  3. Change to "View Unanswered" mode and it will be displayed.
  659.  4. All of the above.
  660.  5. None of the above.
  661. A=
  662.  Either '1' or '2' will work, but '1' is the practical way.
  663.  1
  664.  2
  665.  
  666. ==========================================================================
  667.  
  668. W=
  669. 2
  670.  
  671. Q=
  672.  25. True/False
  673.  
  674.  If I save a quiz so I can come back to it later, QA Study Aid will
  675.  save the view mode and the presentation sequence for me.
  676. A=
  677. $TRUE$
  678.  
  679. ==========================================================================
  680.  
  681. End of sample database.....
  682. ---------------------------
  683.  
  684.